<?php
    //print_r($usersList);


?>

<table>
  <tr>
    <th>ID</th>
    <th>Name</th>
    <th>Login</th>
    <th>Role</th>
    <th>Actions</th>
  </tr>
<?php foreach ($usersList as $user) :?>
  <tr>
  	<td><?php echo $user->id; ?></td>
  	<td><?php echo $user->name; ?></td>
  	<td><?php echo $user->login; ?></td>
  	<td><?php echo $user->role; ?></td>
  	<td>&nbsp;</td>
  </tr>
<?php endforeach;?>
</table>

